package cn.codecang.mall.common.consts;

import lombok.Getter;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * ErrorCode 错误信息
 *
 * @author xiaoluo
 * @date 2023/6/2 16:53
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum ErrorCode {

    INVALID_PARAMETER(1, "参数非法"),
    TOKEN_VERIFY(2,"TOKEN 验证失败"),
    SUCCESS(0, "操作成功");

    Integer code;
    String msg;
}
